<!-- Content -->
<div id="content">

    <!-- Content wrapper -->
    <div class="wrapper">

        <!-- Breadcrumbs line -->
        <div class="crumbs">
            <ul id="breadcrumbs" class="breadcrumb"> 
                <li><a href="<?= base_url('xpanel') ?>xpanel">XPANEL</a></li>
            </ul>
        </div>
        <!-- /breadcrumbs line -->
        <!-- Page header -->
        <div class="page-header">
            <div class="page-title">
                <h5>XPANEL</h5>
            </div>

        </div>
        <!-- /page header -->
        <!-- Datos Personales-->
        <div class="widget">
            <div class="navbar"><div class="navbar-inner"><h6>Datos Personales</h6></div></div>
            <div class="table-overflow">
                <table class="table">
                    <thead>
                        <tr>
                            <th>Nombre Completo</th>
                            <th>Empresa</th>
                            <th>División</th>
                            <th>Promedio</th>
                            <th>Realizados / Faltantes</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><?= $e_nombre ?></td>
                            <td><?= $em_nombre ?></td>
                            <td><?= $d_nombre ?></td>
                            <td><?= $avg ?></td>
                            <td><?= "$testDone / $testNoDone" ?></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /default table -->        
        <!-- table striped -->
        <div class="widget">
            <div class="navbar"><div class="navbar-inner"><h6>Historial Académico</h6></div></div>
            <div class="table-overflow">
                <table class="table table-striped table-bordered" id="data-table">
                    <thead>
                        <tr>
                            <td>#</td>
                            <th>Módulo</th>
                            <th>Submódulo</th>
                            <th>Material</th>
                            <th>Fecha</th>
                            <th>Califiación</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($listTestDone as $num => $test) { ?>
                            <tr>
                                <td><?= $num + 1 ?></td>
                                <td><?= $test->m_nombre ?></td>
                                <td><?= $test->sm_nombre ?></td>
                                <td><?= $test->m_titulo ?></td>
                                <td><?= $test->ct_uacceso ?></td>
                                <td><?= $test->prom ?></td>
                            </tr>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /table striped -->
    </div>
    <!-- /content wrapper -->
</div>
<!-- /content -->

